package com.app.constant

import groovy.transform.CompileStatic
import groovy.transform.TypeChecked

/**
 * 枚举常量接口
 * Created by three on 14-8-4.
 * User：three
 */
@CompileStatic
@TypeChecked
interface IEnum<T,V,D> {
    D getDesc();
    V getValue();
    D parse(V value);
    T parseT(V value);
}
